export function useLoad(fn){
  const loading = ref(false)
  const run = async (...args) => {
    try {
      loading.value = true
      console.log('入参>>>', args)
      await fn(args)
      loading.value = false
    } finally {
      loading.value = false
    }
  }
  return {
    loading,
    run,
  }
}